package com.school.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/*
由于在多处使用，就变成一个bean好些,
写入properties文件中的中文会乱码，那就直接写在这里

 */
@ConfigurationProperties(
        prefix = "mail.info"
)
@Component
public class MailInfoProperties {
    //    private String registerRemindSubject = "欢迎加入亚洲大学校长论坛签约系统";
//    private String registerRemindContent = "尊敬的亚洲大学校长论坛会员：\n欢迎贵校加入亚洲大学校长论坛签约系统。您的签约系统账号已经注册成功，请通过 https://aupf2020.com/sign-system/ （网址）登陆，请点击忘记密码后，在此邮箱中获取验证码来激活您的账号并设置密码。后续登录的账户名为您的此邮箱，密码为您自行设置的密码。祝您找到合作意向伙伴！";
    private String registerRemindSubject = "You are welcome to join the signing system of the Asia University Presidents Forum";
    private String registerRemindContent = "Dear members of the Asia University Presidents Forum: \nYou are welcome to join the signing system of the Asia University Presidents Forum. Your signing system account has been successfully registered. Please log in through https://aupf2020.com/sign-system/ (URL), click on Forget Password, and obtain the verification code from this email to activate your account and set your password. You can use this email as the account name for the subsequent login with the password you set. \nWish you find a partner with intention of cooperation!";

    //    private String signRemindSubject = "亚洲大学校长论坛签约系统签约结果提醒";
//    private String signRemindContent = "尊敬的亚洲大学校长论坛会员：\n恭喜贵校！目前已有参会高校选择贵校作为签约意向学校，请及时点击网址 https://aupf2020.com/sign-system/ 来查看自己的签约结果。祝您找到合作意向伙伴！";
    private String signRemindSubject = "A reminder of the signing result of the signing system of the Asian University Presidents Forum";
    private String signRemindContent = "Dear members of the Asia University Presidents Forum: \nCongratulations! At present, some participants have intention of signing with you. Please click on the website https://aupf2020.com/sign-system/ to check your signing results. Wish you find a partner with intention of cooperation!";

    //    private String likeRemindSubject = "亚洲大学校长论坛签约系统签约意向提醒";
//    private String likeRemindContent = "尊敬的亚洲大学校长论坛会员：\n恭喜贵校！目前已有参会高校选择贵校作为签约意向学校，请及时点击网址 https://aupf2020.com/sign-system/ 来查看自己的签约结果。祝您找到合作意向伙伴！";
    private String likeRemindSubject = "A reminder of the signing intention of the signing system of the Asian University Presidents Forum";
    private String likeRemindContent = "Dear members of the Asia University Presidents Forum: \nCongratulations! At present, some participants have intention of signing with you. Please click on the website https://aupf2020.com/sign-system/ to check your signing results. Wish you find a partner with intention of cooperation!";

    //    private String codeRemindSubject = "亚洲大学校长论坛签约系统验证码";
//    private String codeRemindContent = "尊敬的亚洲大学校长论坛会员:\n欢迎贵校加入亚洲大学校长论坛签约系统。本次签约系统验证码为（此验证码用于重置密码，10分钟内有效）";
    private String codeRemindSubject = "Verification code of the signing system of the Asia University Presidents Forum";
    private String codeRemindContent = "Dear members of the Asia University Presidents Forum:\n The verification code of this signing system is %s (This verification code is used to reset the password and is valid within 10 minutes)";

    public String getRegisterRemindSubject() {
        return registerRemindSubject;
    }

    public void setRegisterRemindSubject(String registerRemindSubject) {
        this.registerRemindSubject = registerRemindSubject;
    }

    public String getRegisterRemindContent() {
        return registerRemindContent;
    }

    public void setRegisterRemindContent(String registerRemindContent) {
        this.registerRemindContent = registerRemindContent;
    }

    public String getSignRemindSubject() {
        return signRemindSubject;
    }

    public void setSignRemindSubject(String signRemindSubject) {
        this.signRemindSubject = signRemindSubject;
    }

    public String getSignRemindContent() {
        return signRemindContent;
    }

    public void setSignRemindContent(String signRemindContent) {
        this.signRemindContent = signRemindContent;
    }

    public String getLikeRemindSubject() {
        return likeRemindSubject;
    }

    public void setLikeRemindSubject(String likeRemindSubject) {
        this.likeRemindSubject = likeRemindSubject;
    }

    public String getLikeRemindContent() {
        return likeRemindContent;
    }

    public void setLikeRemindContent(String likeRemindContent) {
        this.likeRemindContent = likeRemindContent;
    }

    public String getCodeRemindSubject() {
        return codeRemindSubject;
    }

    public void setCodeRemindSubject(String codeRemindSubject) {
        this.codeRemindSubject = codeRemindSubject;
    }

    public String getCodeRemindContent() {
        return codeRemindContent;
    }

    public void setCodeRemindContent(String codeRemindContent) {
        this.codeRemindContent = codeRemindContent;
    }
}
